package org.richin.io.fastStream.util;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;

import org.richin.Profile.util.SimpleTimeProfiler;
import org.richin.file.util.FileUtils;

public class Test {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		System.gc();
		SimpleTimeProfiler profiler=new SimpleTimeProfiler();
		profiler.start();
		FileUtils.copyFile(new File("c:/test.dat"), new File("d:/fsd.dat"));
	    profiler.report("耗时");
	}

}
